<?php /* Smarty version Smarty-3.1.11, created on 2013-07-29 13:19:00
         compiled from "templates/bootstrap/home.tpl" */ ?>
<?php /*%%SmartyHeaderCode:112878754050b338219fc629-72347558%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '9ff060eac64636be642191f75b785bbff2488345' => 
    array (
      0 => 'templates/bootstrap/home.tpl',
      1 => 1375089537,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '112878754050b338219fc629-72347558',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_50b33821a90177_25592231',
  'variables' => 
  array (
    'user_mode' => 0,
    'stiker_body' => 0,
    'ArrayRss' => 0,
    'ArrayPlans' => 0,
    'cn' => 0,
    'ArrayUsersProfile' => 0,
    'ArrayUsers' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50b33821a90177_25592231')) {function content_50b33821a90177_25592231($_smarty_tpl) {?><?php if ((($_smarty_tpl->tpl_vars['user_mode']->value==1)||($_smarty_tpl->tpl_vars['user_mode']->value==0))&&($_smarty_tpl->tpl_vars['user_mode']->value!='')){?>
    <table id="bp_list"></table>
    <div id="bp_list_buttom" name="bp_list_buttom"></div>
    <div id="bp_go" name="bp_go"></div>
<?php }?>
<?php if ((($_smarty_tpl->tpl_vars['user_mode']->value==1)||($_smarty_tpl->tpl_vars['user_mode']->value==0))&&($_smarty_tpl->tpl_vars['user_mode']->value!='')){?>
    <table id="bp_xml"></table>
    <div id="bp_xml_footer" name="bp_xml_footer"></div>
    <div id="bp_xml_info" name="bp_xml_info"></div>
<?php }?>

<div class="tabbable"> <!-- Only required for left/right tabs -->
  <ul class="nav nav-tabs">
    <li class="active"><a href="#tab1" data-toggle="tab">Общая информация</a></li>
    <li><a href="#tab2" data-toggle="tab">Сотрудники</a></li>
    <li><a href="#tab3" data-toggle="tab">Выполнение планов</a></li>
    <li><a href="#tab4" data-toggle="tab">Алкогольные новости</a></li>
    <li><a href="#tab5" data-toggle="tab">БП "Брак" в работе</a></li>    
  </ul>
</div>    

  <div class="tab-content">
    <div class="tab-pane active" id="tab1">
      <div class="row-fluid">
        <div class="row-fluid">
            <div class="span6">
                <span class="label label-info">Полезная информация</span>
                    <div class="well">		
                        <p><?php echo $_smarty_tpl->tpl_vars['stiker_body']->value;?>
</p>		
                    </div>                             
            </div>
            <div class="span6">
                    <span class="label label-info">Новости,обьявления</span>
                    <div class="well" id=newslist name=newslist></div>    
                    <ul class="pager">
                        <li class="previous"><a href="#" id=newsprev name=newsprev>&larr; Назад</a></li>
                        <li class="next"><a href="#" id=newsnext name=newsnext>Вперед &rarr;</a></li>
                    </ul>      
            </div>
        </div>
      </div>	
    </div>       
    <script type="text/javascript" src="controller/client/js/news_main.js"></script>

    <div class="tab-pane" id="tab4">
        <div class="row-fluid">
    	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['ArrayRss']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
            <legend><a href="<?php echo $_smarty_tpl->tpl_vars['ArrayRss']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["link"];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['ArrayRss']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["title"];?>
</a></legend>
            <p><?php echo $_smarty_tpl->tpl_vars['ArrayRss']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["descc"];?>
</p>
        <?php endfor; endif; ?>
        </div>	
    </div>        
        
        
   <div class="tab-pane" id="tab3">
      <div class="row-fluid">
          <small>
  <table class="table table-bordered table-condensed table-hover">   
  <thead>
    <tr>
        <th colspan="1" rowspan="2" style="vertical-align: top;">Номенклатура</th>
        <th colspan="2" rowspan="1" style="vertical-align: top; text-align: center;">Выпуск ГП</th>
        <th colspan="2" rowspan="1" style="vertical-align: top; text-align: center;">План производства</th>
        <th colspan="2" rowspan="1" style="vertical-align: top; text-align: center;">Отклонение от плана</th>
        <th colspan="1" rowspan="2" style="vertical-align: top; text-align: center;">% выполнения</th>
        <th colspan="2" rowspan="1" style="vertical-align: top; text-align: center;">Отгружено</th>
    </tr>
    <tr>
        <th style="vertical-align: top; text-align: right;">Бут</th>
        <th style="vertical-align: top; text-align: right;">Дал</th>
        <th style="vertical-align: top; text-align: right;">Бут</th>
        <th style="vertical-align: top; text-align: right;">Дал</th>
        <th style="vertical-align: top; text-align: right;">Бут</th>
        <th style="vertical-align: top; text-align: right;">Дал</th>
        <th style="vertical-align: top; text-align: right;">Бут</th>
        <th style="vertical-align: top; text-align: right;">Дал</th>
    </tr>
  </thead>            
  <tbody>    
        <?php $_smarty_tpl->tpl_vars['cn'] = new Smarty_variable(0, null, 0);?>
	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['ArrayPlans']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
        <?php $_smarty_tpl->tpl_vars['cn'] = new Smarty_variable($_smarty_tpl->tpl_vars['cn']->value+1, null, 0);?>
    <tr <?php if (sprintf("%.2f",$_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["prpr"])>="100"){?> class="success"<?php }?> <?php if (preg_match_all('/[^\s]/u',$_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["nom"], $tmp)==0){?> class="error"<?php }?>>
        <td style="vertical-align: top;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["nom"];?>
<?php if (preg_match_all('/[^\s]/u',$_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["nom"], $tmp)==0){?><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["tm"];?>
</strong><?php }?></td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["vpkol"];?>
</td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["vpdal"];?>
</td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["plprkol"];?>
</td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["plprdal"];?>
</td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["protklplkol"];?>
</td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["protklpldal"];?>
</td>
        <td style="vertical-align: top; text-align: center;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["prpr"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["otgrkol"];?>
</td>
        <td style="vertical-align: top; text-align: right;"><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["otgrdal"];?>
</td>
    </tr>            
        <?php endfor; endif; ?>
    <tr class="info">
        <td style="vertical-align: top;"><strong>ИТОГО:</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["vpkol_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["vpdal_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["plprkol_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["plprdal_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["protklplkol_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["protklpldal_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: center;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["prpr_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["otgrkol_i"];?>
</strong></td>
        <td style="vertical-align: top; text-align: right;"><strong><?php echo $_smarty_tpl->tpl_vars['ArrayPlans']->value[$_smarty_tpl->tpl_vars['cn']->value-1]["otgrdal_i"];?>
</strong></td>
    </tr>                    
          </tbody>  
        </table>
          </small>
     </div>	
   </div>        
        
        
    <div class="tab-pane" id="tab2">
              <span class="label label-info">Кого нет</span>
        <div class="well">		
		<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['ArrayUsersProfile']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
                    <?php if ($_smarty_tpl->tpl_vars['ArrayUsersProfile']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["faza"]!="Работает"){?>
                        <a target='_blank' href=?content_page=eq_list&usid=<?php echo $_smarty_tpl->tpl_vars['ArrayUsersProfile']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["id"];?>
>
                        <i class="icon-user"></i><?php echo $_smarty_tpl->tpl_vars['ArrayUsersProfile']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["fio"];?>
</a> в <?php echo $_smarty_tpl->tpl_vars['ArrayUsersProfile']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["faza"];?>
 до <?php echo $_smarty_tpl->tpl_vars['ArrayUsersProfile']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["enddate"];?>
<br>
                    <?php }?>
                <?php endfor; endif; ?>
	</div> 
<div class="row-fluid">
    <div class="span12">               
  <div class="accordion-group">
    <div class="accordion-heading">
      <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
        <span class="label label-info">Пользователи системы (Нажмите чтобы развернуть)</span>
      </a>
    </div>
    <div id="collapseOne" class="accordion-body collapse">
      <div class="accordion-inner">
	<?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['i'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['i']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['name'] = 'i';
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['ArrayUsers']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['i']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['i']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['i']['total']);
?>
	 <i class="icon-user"></i><a target='_blank' href=?content_page=eq_list&usid=<?php echo $_smarty_tpl->tpl_vars['ArrayUsers']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["id"];?>
><?php echo $_smarty_tpl->tpl_vars['ArrayUsers']->value[$_smarty_tpl->getVariable('smarty')->value['section']['i']['index']]["login"];?>
</a> 
        <?php endfor; endif; ?>
      </div>
    </div>
  </div>
    </div>        
</div>       
        
    </div>
      
          <div class="tab-pane" id="tab5">
      <div class="row-fluid">
          <div class="span12">
            
                <table id="bp_xml_c" width='100%' border=1></table>
                <div id="bp_xml_footer_c" name="bp_xml_footer_c"></div>
                <div id="bp_xml_info_c" name="bp_xml_info_c"></div>                                  
            
            
            </div>	
    </div>	
    </div>    
      
      
  </div>


 <script>$(".collapseOne").collapse('hide');</script>
 <script type="text/javascript" src="controller/client/js/home.js"></script> 
 <?php if ((($_smarty_tpl->tpl_vars['user_mode']->value==1)||($_smarty_tpl->tpl_vars['user_mode']->value==0))&&($_smarty_tpl->tpl_vars['user_mode']->value!='')){?>
    <script type="text/javascript" src="controller/client/js/bp_list.js"></script>
    <script type="text/javascript" src="controller/client/js/bp_xml_list.js"></script>
    <script type="text/javascript" src="controller/client/js/bp_xml_list_c.js"></script>    
<?php }?><?php }} ?>